package com.gameapplet.user.dao;

import com.gameapplet.user.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;
@Repository("iUserDao")
public interface IUserDao {
    List<User> selectUser();
    User selectUserById(String Openid);
    void insertUser(User user);
    void updateUser(User user);
    Integer selectMaxStage();
    public void insertGroup(@Param("opengid") String opengid,@Param("openid") String openid);
    User selectGroupById(@Param("opengid") String opengid,@Param("openid") String openid);
}
